package com.jy.service;

import com.jy.common.enums.ResponseWrapper;
import com.jy.common.model.user.param.SendMessageTo;
import com.jy.entity.ChatMessages;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 存储聊天过程中的消息内容 服务类
 * </p>
 *
 * @author fzg
 * @since 2024-11-18
 */
public interface ChatMessagesService extends IService<ChatMessages> {

    ResponseWrapper getAllUserMessageList(Integer LoginUserAid);

    ResponseWrapper getMessages(Integer userAidByToken, Integer userAid);

    ResponseWrapper sendMessageTo(Integer userAidByToken, SendMessageTo param);
}
